package pl.elka.simulator.core.mobilityManager.impl.nodes;

import pl.elka.simulator.core.Node;
import pl.elka.simulator.core.Position;

public class LeaderNode extends Node{

	public int velocityChangeInterval;
	public int lastVelocityChangeInterval;
	public Position currentVelocity;	
	
	public LeaderNode(Position position) {
		super(position);
	}

	public LeaderNode(LeaderNode n) {
		this.velocityChangeInterval = n.velocityChangeInterval;
		this.lastVelocityChangeInterval = n.lastVelocityChangeInterval;
		this.currentVelocity = new Position(n.currentVelocity);
		this.position = new Position(n.position);		
	}

	public int getVelocityChangeInterval() {
		return velocityChangeInterval;
	}

	public void setVelocityChangeInterval(int velocityChangeInterval) {
		this.velocityChangeInterval = velocityChangeInterval;
	}

	public int getLastVelocityChangeInterval() {
		return lastVelocityChangeInterval;
	}

	public void setLastVelocityChangeInterval(int lastVelocityChangeInterval) {
		this.lastVelocityChangeInterval = lastVelocityChangeInterval;
	}

	public Position getCurrentVelocity() {
		return currentVelocity;
	}

	public void setCurrentVelocity(Position currentVelocity) {
		this.currentVelocity = currentVelocity;
	}	
	
	
	
}
